package cc.lj.internal.payment.domain.pay.vo.convert;

import cc.lj.internal.payment.domain.pay.vo.ProductConumeDO;
import cc.lj.internal.payment.infrastructure.po.ProductConumePO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 合同收款表 PO 与 DO之间转换
 * @author liangxifeng
 * @date 2022-01-12
 */
@Mapper
public interface ProductConumePOConvertDO {
    ProductConumePOConvertDO INSTANCE = Mappers.getMapper(ProductConumePOConvertDO.class);
    //do to po
    ProductConumePO convert(ProductConumeDO productConumeDO);

    //po to do
    ProductConumeDO convert(ProductConumePO productConumePO);
}
